package com.test.sb.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    //映射"/"请求
    @RequestMapping("/")
    public  String index(){

        return "Hello,Spring Boot 2.0!";
    }
}
